#ifndef __PLANET_H__
#define __PLANET_H__

#include "StarGame.h"

enum thePlanetStyle{ normal, fire, ice, sand };

class Planet : public Node
{
public:
	Planet();
	~Planet();
	CREATE_FUNC(Planet);
public:
	void toCrash(int damage);
	Sprite* initPlanet(thePlanetStyle style);
	Sprite* getSprite();
	bool isClash();
	
private:
	float m_HP;
	int m_Mass;
	int damaged;
	Sprite* thePlanet;
	void changeTheSharpe();

};


#endif